package com.cnsugar.common.jdbc.model;

import java.util.List;

/**
 * @Author Sugar
 * @Version 2018/7/23 17:45
 */
public class SaveOrUpdateModel {
    public String table;
    public String pkName;
    public Object pkValue;
    public List<String> columns;
    public List<Object> values;
    public List<Integer> types;

    public SaveOrUpdateModel(String table, String pkName, Object pkValue, List<String> columns, List<Object> values, List<Integer> types) {
        this.table = table;
        this.pkName = pkName;
        this.pkValue = pkValue;
        this.columns = columns;
        this.values = values;
        this.types = types;
    }
}
